#ifndef _noiseSphere_h_included_
#define _noiseSphere_h_included_

#include "Sphere.h"
#include "DXUtil.h"
#include <d3dx9.h>
#include <d3d9.h>
#include "Ray.h"

class NoiseSphere : public Sphere
{

public:
	D3DXVECTOR3 noiseOffset;
	float radiusInner;
	float softness;
	int minFreq;
	int maxFreq;

	NoiseSphere();
	float Density(D3DXVECTOR3 &point);
	virtual void Normal(D3DXVECTOR3* output, D3DXVECTOR3 &point, float epsilon, float sampledensity);
};

#endif